.class final Lcom/a0soft/gphone/app2sd/a/b;
.super Ljava/lang/Object;
.source "AppMgr.java"

# interfaces
.implements Ljava/util/Comparator;


# instance fields
.field final synthetic a:Z

.field final synthetic b:Landroid/content/Context;

.field final synthetic c:Lcom/a0soft/gphone/app2sd/a/a;


# direct methods
.method constructor <init>(Lcom/a0soft/gphone/app2sd/a/a;ZLandroid/content/Context;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 160
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/a/b;->c:Lcom/a0soft/gphone/app2sd/a/a;

    iput-boolean p2, p0, Lcom/a0soft/gphone/app2sd/a/b;->a:Z

    iput-object p3, p0, Lcom/a0soft/gphone/app2sd/a/b;->b:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)I
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 162
    iget-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/b;->a:Z

    if-eqz v0, :cond_1

    .line 163
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/b;->b:Landroid/content/Context;

    invoke-static {v0, p1}, Lcom/a0soft/gphone/app2sd/main/PrefWnd;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v0

    .line 164
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/a/b;->b:Landroid/content/Context;

    invoke-static {v1, p2}, Lcom/a0soft/gphone/app2sd/main/PrefWnd;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v1

    .line 165
    if-eqz v0, :cond_0

    if-nez v1, :cond_0

    const/4 v0, 0x1

    .line 171
    :goto_0
    return v0

    .line 166
    :cond_0
    if-nez v0, :cond_1

    if-eqz v1, :cond_1

    const/4 v0, -0x1

    goto :goto_0

    .line 169
    :cond_1
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/b;->c:Lcom/a0soft/gphone/app2sd/a/a;

    invoke-static {v0}, Lcom/a0soft/gphone/app2sd/a/a;->a(Lcom/a0soft/gphone/app2sd/a/a;)Ljava/util/concurrent/ConcurrentHashMap;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 170
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/a/b;->c:Lcom/a0soft/gphone/app2sd/a/a;

    invoke-static {v1}, Lcom/a0soft/gphone/app2sd/a/a;->a(Lcom/a0soft/gphone/app2sd/a/a;)Ljava/util/concurrent/ConcurrentHashMap;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 171
    iget-object v0, v0, Lcom/a0soft/gphone/app2sd/a/g;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/a/g;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->compareToIgnoreCase(Ljava/lang/String;)I

    move-result v0

    goto :goto_0
.end method


# virtual methods
.method public final bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 160
    check-cast p1, Ljava/lang/String;

    check-cast p2, Ljava/lang/String;

    invoke-direct {p0, p1, p2}, Lcom/a0soft/gphone/app2sd/a/b;->a(Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    return v0
.end method
